package com.telecomyt.jwportal.activity.contacts.bean;

import com.telecomyt.jwportal.activity.contacts.utils.PinyinUtil;

public class RegionInfo {
    private String name;
    private String code;
    private String phone;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public RegionInfo(String name, String phone) {
        this.name = name;
        this.phone = phone;
        code = PinyinUtil.getPinyin(name);
    }

}